package com.zzy.ecommerce.service;

import com.zzy.ecommerce.domain.Order;
import com.zzy.ecommerce.domain.TOrder;

import java.util.List;

public interface OrderService {
    List<Order> selectAllOrder();
    TOrder selectOneOrder(Integer id);
    Integer deleteOneOrder(Integer id);
    Integer deleteAllOrders();
    Integer insertOneOrder(TOrder tOrder);
    List<TOrder> selectAllUserOrder(Integer id);
    Double selectOneUserAllOrderPrice(Integer id);
    TOrder selectOneOrderById(Integer id);

}
